Test\Unit\Xml\ParserTest S

Total Complexity 21
Dependencies 3
Dependents 0
Total lines 532
Lines of code 474
Logical lines of code 81
Comment lines 0
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
testParsingCreditCardSearchResults()
A
36 1 158
testTransactionParsingNil()
S
40 1 103
testReturnsBoolean()
S
57 1 20
testEmptyArrayAndNestedElements()
S
58 1 19
testBuildsArray()
S
58 1 18
testParsingWithNodeHavingSameNameAsNodesDirectlyUnderCollection()
S
59 1 16
testNullvsEmptyStringToXml()
S
60 1 15
testCustomFieldsUnderscore()
S
63 1 12
testTypeCastsDatetimes()
S
61 1 12
testParsingNilEqualsTrueAfterArray()
S
63 1 12
testNullOrEmptyString()
S
63 1 11
testTypeCastsDates()
S
63 1 11
testDashesUnderscores()
S
63 1 11
testTimestampRoundtrip()
S
65 1 8
testIncludesTheEncodingRoundtrip()
S
68 1 7
testTypeCastIntegers()
S
74 1 4
testBooleanRoundtrip()
S
64 1 10
testArrayRoundtrip()
S
64 1 10
testSimpleCaseRoundtrip()
S
67 1 8
xmlAndBack()
S
75 1 4
testRootNodeAndStringRoundtrip()
S
72 1 5